Implementation
- 1. Add the detector of your choices on your GameObject, make sure it has a Collider component.
- 2. Choose the component you want to detect.
- 3. In your scripts make a field to reference the collision detector.
- 4. Use the data from the collision detector
- 5. UnityEvent are also implemented in the collision detector component.